import request from "@/utils/request";

/**
 * 栏目信息查询
 * @param queryString
 * @returns
 */
export const getColumnInfo = (columnId: string) => {
  return request.get('/categories/detail/' + columnId)
}


/**
 * 获取栏目文章列表
 * @param data
 * @returns
 */
export const getColumnArticlesList = (params: any) => {
  return request.post('/articles/list', params)
}

/**
 * 获取栏目文章详情
 * @param artId
 * @returns
 */
export const getColumnArticleDetail = (artId) => {
  return request.get('/articles/detail/' + artId)
}